public class Rect 
{
   double width;   
   double height; 
   double getArea() 
   {
      double area=width*height;
      return area;
   }
}